Fix #126295:
authorFederico Mena Quintero <federico@ximian.com>
Thu, 15 Jul 2004 01:36:29 +0000 (01:36 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Thu, 15 Jul 2004 01:36:29 +0000 (01:36 +0000)
commit547261fc6d30cdac57e78f838cd4eb73139b54ce
tree7b4b6007086548f57b8fc37ee3a3956b0e3b413c
parent6baa9c8f301adf3eb2acf50d85ea3d0b1a836363
Fix #126295:

2004-07-14  Federico Mena Quintero  <federico@ximian.com>

Fix #126295:

* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw a focus
indicator along the edge of the bin_window when the tree is empty.
(grab_focus_and_unset_draw_keyfocus): New helper function.
(gtk_tree_view_button_press): Remove a bit of superfluous code.
Use the helper function to save on duplicated code.
(gtk_tree_view_button_press): Grab the focus if the tree is empty.
(gtk_tree_view_focus): Allow focusing into an empty tree.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktreeview.c